<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="customer" tagdir="/WEB-INF/tags/customer"%>
<%@ taglib prefix="order" tagdir="/WEB-INF/tags/order"%>
<input type="hidden" name="customerId" id="customerId" value="${customer.appuserId}" />
<input type="hidden" name="pagingId" id="pagingId" value="SalesOrder" />

<display:table name="${salesOrderList}" cellspacing="0" cellpadding="0" uid="salesOrder" class="list_table" export="false" requestURI="">
	<display:column style=""   sortable="false" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="salesOrder.orderNo">
		${salesOrder.orderNo}
	</display:column>
	<display:column style="width: 15%;"  sortable="false" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="salesOrder.createTime" >
		<common:datetimeFormat date="${salesOrder.createTime}" />
	</display:column>
	<display:column style="width: 10%;"  sortable="false" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="salesOrder.totalAmount" >
		<common:currencyFormat value="${salesOrder.totalAmount}" />
	</display:column>
	<display:column style="width: 10%;"  sortable="false" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="salesOrder.orderAddress.firstname" >
		${salesOrder.orderAddress.firstname}
	</display:column>
	<display:column style="width: 10%;" sortable="false" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="salesOrder.paymentTypeDesc">
		${salesOrder.paymentTypeDesc}
	</display:column>
	<display:column style="width: 15%;" sortable="false" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="salesOrder.deliveryTypeDesc">
		${salesOrder.deliveryTypeDesc}
	</display:column>
	<display:column style="width: 8%" sortable="false" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="salesOrder.paymentStatus" >
		<fmt:message key="salesOrder.paymentStatus.${salesOrder.paymentStatus}" />
	</display:column>
		<display:column style="width: 8%" sortable="false" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="salesOrder.shipmentStatus" >
		<fmt:message key="salesOrder.shipmentStatus.${salesOrder.shipmentStatus}" />
	</display:column>
	<display:column style="width: 8%" sortable="false" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="salesOrder.orderStatus" >
		<fmt:message key="salesOrder.orderStatus.${salesOrder.orderStatus}" />
	</display:column>

</display:table>
<%@include file="/common/pagingOnly.jsp"%>
<script type="text/javascript">
$j(document).ready(function () {
	highlightTableRows("salesOrder");
});
</script>


